x11: add missing checks that a hint is supported
authorGeoff Reedy <geoff@programmer-monk.net>
Thu, 10 Jan 2013 04:40:04 +0000 (21:40 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 12 Jan 2013 23:38:37 +0000 (18:38 -0500)
commit2fcbe3a9b44491059170b71f75e07b3b24138c4a
treebb4967ae8106aba53a5f63bc1ad75214fdf8c12d
parent246438812a8b83b303dc32de6b715d4eaf7f4b1a
x11: add missing checks that a hint is supported

Before acting on any hint that is set by the window manager we must
first check that the hint is supported by the current window manager.
Checking that a property has a value is insufficient as it may have
been set by a previous window manager which did support the hint.

https://bugzilla.gnome.org/show_bug.cgi?id=691515
gdk/x11/gdkscreen-x11.c
gdk/x11/gdkwindow-x11.c